home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / IDE / SUBARTIC / SUB_ARCT / ANIM / PACER.JAV < prev    next >
Encoding:
Text File  |  1996-10-04  |  1.1 KB  |  36 lines

  1. package sub_arctic.anim;
  2.  
  3. /** 
  4.  * This is an interface for implementing pacing functions.<P>
  5.  *
  6.  * Your function should map a point in a time interval (0.0 to 1.0)
  7.  * to another point in that interval.<p>
  8.  *
  9.  * @author Ian Smith
  10.  */
  11. public abstract interface pacer {
  12. /**
  13.  * This is the function which does the work of the mapping.<p>
  14.  *
  15.  * @param double f the input time value (0.0 to 1.0)
  16.  * @return double the transformed time value
  17.  */
  18.   public double pace(double f);
  19. }
  20. /*=========================== COPYRIGHT NOTICE ===========================
  21.  
  22. This file is part of the subArctic user interface toolkit.
  23.  
  24. Copyright (c) 1996 Scott Hudson and Ian Smith
  25. All rights reserved.
  26.  
  27. The subArctic system is freely available for most uses under the terms
  28. and conditions described in 
  29.   http://www.cc.gatech.edu/gvu/ui/sub_arctic/sub_arctic/doc/usage.html 
  30. and appearing in full in the lib/interactor.java source file.
  31.  
  32. The current release and additional information about this software can be 
  33. found starting at: http://www.cc.gatech.edu/gvu/ui/sub_arctic/
  34.  
  35. ========================================================================*/
  36.